<?php

namespace App\Listeners;

use D1M\Payment\Events\PaymentPaying;
use Throwable;

/**
 * 通知 ES 系统订单正在支付中
 */
class NotifyOrderPaying extends NotifyOrderPaymentStatusChanged
{

    /**
     * @param PaymentPaying $event
     * @throws Throwable
     */
    public function handle(PaymentPaying $event)
    {
        $this->doHandle($event->id, 'PAYMENT', '正在支付中');
    }

}